package com.action;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

import com.dao.TeacherDao;
import com.po.TeacherInfoPO;
@Controller
public class TeacherAction {
	private List<TeacherInfoPO>  listTeacherInfo;
	@Autowired
	private TeacherDao teacherDao;
	
	
	public String show(){
		listTeacherInfo = teacherDao.findTeacherInfo();
		return "show";
	}
	
	
	
	
	
	
	
	public List<TeacherInfoPO> getListTeacherInfo() {
		return listTeacherInfo;
	}
	public void setListTeacherInfo(List<TeacherInfoPO> listTeacherInfo) {
		this.listTeacherInfo = listTeacherInfo;
	}
}
